package com.zoro.barn.commons.foundation.constants.web;

/**
 * HTTP 响应对象的一些常量
 *
 * @author zhaoxingwu
 */
public class ResponseConstants {

    /**
     * this transaction's process status
     */
    public static final String STATUS = "status";
    /**
     * process SUCCESS
     */
    public static final String STATUS_OK = "0";
    /**
     * process FAILED
     */
    public static final String STATUS_ERROR = "-1";
    /**
     * when status is -1 , this MESSAGE means what cause this fail
     */
    public static final String MESSAGE = "message";
    /**
     * data
     */
    public static final String DATA = "data";

    /**
     * exception
     */
    public static final String EXCEPTION = "exception";



}
